package com.ruoyi.web.wx.service;

import com.ruoyi.web.wx.entity.TrashRecord;
import com.ruoyi.web.wx.entity.TrashRecordVO;

import java.util.List;

/**
 * 预约记录 服务层
 * 
 * @author ruoyi
 * @date 2019-08-27
 */
public interface ITrashRecordService 
{
	/**
     * 查询预约记录信息
     * 
     * @param id 预约记录ID
     * @return 预约记录信息
     */
	public TrashRecord selectTrashRecordById(String id);
	
	/**
     * 查询预约记录列表
     * 
     * @param trashRecord 预约记录信息
     * @return 预约记录集合
     */
	public List<TrashRecord> selectTrashRecordList(TrashRecord trashRecord);
	
	/**
     * 新增预约记录
     * 
     * @param trashRecord 预约记录信息
     * @return 结果
     */
	public int insertTrashRecord(TrashRecord trashRecord);
	
	/**
     * 修改预约记录
     * 
     * @param trashRecord 预约记录信息
     * @return 结果
     */
	public int updateTrashRecord(TrashRecord trashRecord);
		
	/**
     * 删除预约记录信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteTrashRecordByIds(String ids);

    List<TrashRecordVO> selectTrashRecordListPage(TrashRecordVO trashRecordVO);

	List<TrashRecordVO> selectWaitOrder(String[] split, Integer from, Integer pageSize, String status);

	List<TrashRecordVO> selectTrashRecordList1(TrashRecordVO trashRecord);

    void deleteTrashRecordByRId(String id);

	List<TrashRecordVO> selectAllCm(TrashRecordVO trashRecord);
}
